Pod::Spec.new do |s|
  # 上传到私有库
	#验证方法1：pod lib lint CQAppTabBarController.podspec --sources='https://github.com/CocoaPods/Specs.git,https://gitee.com/dvlproad/dvlproadSpecs' --allow-warnings --use-libraries --verbose
  #验证方法2：pod lib lint CQAppTabBarController.podspec --sources=master,dvlproad --allow-warnings --use-libraries --verbose
  #提交方法： pod repo push dvlproad CQAppTabBarController.podspec --sources=master,dvlproad --allow-warnings --use-libraries --verbose

  # 上传到开源库
  #验证方法1：pod lib lint CQAppTabBarController.podspec --sources='https://github.com/CocoaPods/Specs.git,https://gitee.com/dvlproad/Specs' --allow-warnings --use-libraries --verbose
  #验证方法2：pod lib lint CQAppTabBarController.podspec --sources=master,dvlproadPublicSpec --allow-warnings --use-libraries --verbose
  #提交方法： pod repo push dvlproadPublicSpec CQAppTabBarController.podspec --sources=master,dvlproadPublicSpec --allow-warnings --use-libraries --verbose

  s.name         = "CQAppTabBarController"
  s.version      = "0.1.1"
  s.summary      = "支持lottie动画的TabBarController"
  s.homepage     = "https://gitee.com/dvlpPublic/iOS.git"

  #s.license      = "MIT"
  s.license      = {
    :type => 'Copyright',
    :text => <<-LICENSE
              © 2008-2020 dvlproad. All rights reserved.
    LICENSE
  }

  s.author   = { "dvlproad" => "" }
  

  s.description  = <<-DESC
 				           # 友情提示：
                   # 本库中已将【OC版CYLTabBarController库】中的【<Lottie/Lottie.h>】改为【<CQBridgeSTOLottie/LOTAnimationView.h>】，
                   # 如果没有请检查，否则类似cyl_addLottieImageWithLottieURL的方法会因为没执行，而导致动画无效的问题

                   A longer description of CQAppTabBarController in Markdown format.

                   * Think: Why did you write this? What is the focus? What does it do?
                   * CocoaPods will be using this to generate tags, and improve search results.
                   * Try to keep it short, snappy and to the point.
                   * Finally, don't worry about the indent, CocoaPods strips it!
                   DESC
  

  s.platform     = :ios, "9.0"
  #s.swift_versions = ['5.1', '5.2', '5.3']
  s.swift_version = '5.0'
 
  s.source       = { :git => "https://gitee.com/dvlpPublic/iOS.git", :tag => "CQAppTabBarController_0.1.1" }
  #s.source_files  = "CJDemoCommon/*.{h,m}"
  #s.source_files = "CJChat/TestOSChinaPod.{h,m}"

  s.frameworks = "UIKit"

  s.requires_arc = true

  # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
  # s.dependency "JSONKit", "~> 1.4"

  s.source_files = "CQAppTabBarController/**/*.{h,m,swift}"
  # s.resource_bundle = {
  #   'CQAppTabBarControllerResources' => ['CQAppTabBarController/**/*.{png}'] # CQAppTabBarControllerResources 为生成boudle的名称，可以随便起，但要记住，库里要用
  # }

  
  # 友情提示：
  # 因为CQAppTabBarController库使用的是【OC版CYLTabBarController库】与【Swift版lottie-ios】，所以，
  # 本库中已将【OC版CYLTabBarController库】中的【<Lottie/Lottie.h>】改为【<CQBridgeSTOLottie/LOTAnimationView.h>】，
  # 如果没有请检查，否则类似cyl_addLottieImageWithLottieURL的方法会因为没执行，而导致动画无效的问题
  
  #s.dependency "CYLTabBarController"#,  '~> 1.29.0'
  # CYLTabBarController不使用库，而是用源码的原因为：CYLTabBarController.podspec只依赖了lottie-ios，而没有依赖我们的 CQBridgeSTOLottie，而我们又要在CYLTabBarController中根据#if __has_include(<CQBridgeSTOLottie/LOTAnimationView.h>)来做类似 #import <CQBridgeSTOLottie/LOTAnimationView.h> 的操作，所以我们这里把CYLTabBarController的源码拷贝过来，而不是依赖它的库
  s.dependency "CQBridgeSTOLottie"  # 该库已依赖 s.dependency "lottie-ios"
  #s.dependency "lottie-ios"#,'~> 3.1.9'
  
end
